#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
int main()
{
	int h = 0;
	int r = 0;
	float pi = 3.14159;
	float s = 0;
	int l = 0;
	scanf("%d %d", &h, &r);
	s = pi * r * r * h;
	l=ceil(20/(s/1000));
	printf("%d", l);

	return 0;
}